package com.sservice.urp.dao;


import com.sservice.urp.entity.RolePermission;

import java.util.List;

public interface IRolePermissionDao {
    int deleteByPrimaryKey(Integer id);

    int insert(RolePermission record);

    int insertSelective(RolePermission record);

    RolePermission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RolePermission record);

    int updateByPrimaryKey(RolePermission record);

    int addBatch(List<RolePermission> list);

    int deleteByRoleId(String roleId);
}